/*
 * Licensed under the Apache License, Version 2.0 (the "License");
 * you may not use this file except in compliance with the License.
 * You may obtain a copy of the License at
 *
 *     http://www.apache.org/licenses/LICENSE-2.0
 *
 * Unless required by applicable law or agreed to in writing, software
 * distributed under the License is distributed on an "AS IS" BASIS,
 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
 * See the License for the specific language governing permissions and
 * limitations under the License.
 */
package com.facebook.presto.plugin.neo4j.adaptive;

import java.io.Serializable;

public class NColumn
        implements Serializable
{
    private static final long serialVersionUID = 20210405171633L;

    private String columnName;
    private int columnType;
    private String parameters;

    public NColumn()
    {
        this.columnName = "default";
        this.columnType = -1;
        this.parameters = "2147483647";
    }

    public NColumn(String columnName, int columnType, String parameters)
    {
        this.columnName = columnName;
        this.columnType = columnType;
        this.parameters = parameters;
    }

    public String getColumnName()
    {
        return columnName;
    }

    public int getColumnType()
    {
        return columnType;
    }

    public String getParameters()
    {
        return parameters;
    }

    @Override
    public String toString()
    {
        return "NColumn{" +
                "columnName='" + columnName + '\'' +
                ", columnType=" + columnType +
                ", parameters=" + parameters +
                '}';
    }
}